//app.js
import {login as UserLogin} from "./service/User";
import PageExtend from "./utils/PageExtend";
import ComponentExtend from "./utils/ComponentExtend.js";
App({
    onLaunch: function () {
        Page = PageExtend(Page); //Page页面对象扩展
        Component = ComponentExtend(Component); //Component组件对象扩展
        UserLogin();
    },
    onShow: function () {

    },
    globalData: {
        userInfo: null
    }
})